package cn.xwj.poiExcle;

import java.io.IOException;
import java.util.List;

/**
 * Created by thinkjoy on 2017/6/19.
 */
public class AppExcel {
    public static void main(String[] args){
//        PoIExcelInPut poIExcelInPut =new PoIExcelInPut();
//        poIExcelInPut.createExcel();
        PoIExcelOutPut poIExcelOutPut=new PoIExcelOutPut();
        try {
            List<ScoreInfo>scoreInfos=poIExcelOutPut.loadScoreInfo("F:\\workbook.xls");
            for(ScoreInfo scoreInfo:scoreInfos){
                System.out.println(scoreInfo.toString());
            }
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
